package com.zrf.excelExport.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 查询mapper
 * @author zrf
 *         Created by zrf on 2017/1/1.
 */
@Mapper
public interface SelectMapper {
    /**
     * 根据sql查询该sql返回的数据
     * @param sql sql
     * @return 返回的数据
     */
    List<Map<String, Object>> select(@Param("sql") String sql);
}
